﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NLite.Mapping.Internal
{
    class StringMapper:MapperBase
    {
        public StringMapper(Type fromType, Type toType):base(fromType,toType)
        {
        }

        public override void Map(ref object from, ref object to)
        {
            if (from != null)
                to = from.ToString();
        }
    }
}
